package com.roc;

import com.roc.pan.download.FileUtils;
import lombok.extern.slf4j.Slf4j;

import java.util.Scanner;

/**
 * @author roc
 * @date 2023/2/9
 */
@Slf4j
public class App {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);

        log.info("请选择：");
        log.info("1. 下载指定文件的网盘内容");

        while (true) {
            String command = scanner.next();
            try {
                if ("1".equals(command)) {
                    FileUtils fileUtils = new FileUtils();
                    fileUtils.download();
                }
            } catch (Exception e) {

            }
        }
    }
}
